package com.ruoyi.myplayer.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 歌单列表对象 player_playlist_item
 * 
 * @author ruoyi
 * @date 2025-04-07
 */
public class PlayerPlaylistItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 推荐歌单id */
    @Excel(name = "推荐歌单id")
    private Long playlistId;

    /** 歌曲id */
    @Excel(name = "歌曲id")
    private Long songId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPlaylistId(Long playlistId) 
    {
        this.playlistId = playlistId;
    }

    public Long getPlaylistId() 
    {
        return playlistId;
    }
    public void setSongId(Long songId) 
    {
        this.songId = songId;
    }

    public Long getSongId() 
    {
        return songId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("playlistId", getPlaylistId())
            .append("songId", getSongId())
            .toString();
    }
}
